package gsw.tool.ui;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.view.ViewRootImpl;
import android.widget.FrameLayout;

public class MainActivity extends AppCompatActivity {
    View layoutFlow;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        layoutFlow = findViewById(R.id.layout_flow);
        ViewRootImpl V;
        FrameLayout F;
    }

    /**
     * 显示流式布局
     */
    public void showFlow(View view) {
        layoutFlow.setVisibility(View.VISIBLE);
    }

    /**
     * 显示着色器示例
     */
    public void showShader(View view) {
        Intent i = new Intent(this, ActivityShader.class);
        startActivity(i);
    }
}
